Transforms a the items of a source enumeration into a the items of a destination one.

Namespace: Keystone.Polaris
Assembly: Keystone (in Keystone.dll)

public static IEnumerable<TDestinationItem> Map<TDestinationItem>( 
this IEnumerable itemsIn
Func<TSourceItem, TDestinationItem> byApplying 
)
This language is not supported or no code example is available.

Type Parameters

TDestinationItem

The type of the destination enumeration items.

Parameters

itemsIn

Type: IEnumerable

The source enumeration.

byApplying

Type: Func<TSourceItem, TDestinationItem>

The transformation to be applied on each of the enumeration items, which are injected as argument into this function when called.

Return Value

The enumeration whose items of type TDestinationItem are the result of transformation each of the source enumeration items.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono